﻿@model IEnumerable<Project.Domain.Entities.Match>
@using Framework.Util.Helpers
<div class="bordered_box" style="float: left; margin-left: 10px;">
    <div class="title grey">
        Match Result
    </div>    
    <table cellpadding="2" cellspacing="0" width="160" style="padding-left:6px;">
        <tbody>
            @foreach(var item in Model)
            {
                <tr>
                    <td style="width: 12px;">
                        <img src="@Url.Content("~/Content/images/soccer/soccer.png")" height="15" width="15" alt="">
                    </td>
                    <td style="color: #505050;" align="left">@item.HomeTeam.TeamName - @item.AwayTeam.TeamName</td>
                    <td align="right"><span style="color: rgb(0, 119, 0);">@Html.Slip(item.HomeScore.ToString()):@Html.Slip(item.AwayScore.ToString())</span></td>
                </tr>
            }
        </tbody>
    </table>
    <div class="phantrang">
        <div id="phantrang_clip" style="width: 176px; float: left;height: 16px;">
            <div style=" margin-bottom: 5px;width: 176px; text-align: center;">
                @Html.Raw((Html.Pager((MvcContrib.Pagination.IPagination)Model).Format("").SingleFormat("").First("First").Last("Last").Next("").Previous("")).ToString())
            </div>
            <div class="ClearAll"></div>
        </div>
    </div>
</div>